/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.personnel.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fuyao.cloud.common.core.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * 整改反馈
 *
 * @author pigx code generator
 * @date 2022-04-26 10:13:54
 */
@Data
@TableName("fy_problem_feedback")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "整改反馈")
public class ProblemFeedback extends BaseEntity<ProblemFeedback> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一编码（用于关联附件）
     */
    @ApiModelProperty(value="唯一编码（用于关联附件）")
    private String unid;


    /**
     * 文档类型（对应任务实体类名称）
     */
    @ApiModelProperty(value="文档类型（对应任务实体类名称）")
    private String type;

    /**
     * 整改措施ID
     */
    @ApiModelProperty(value="整改措施ID")
    private Long rectifyId;

    /**
     * 整改措施单号
     */
    @ApiModelProperty(value="整改措施单号")
    private String rectifyNum;

    /**
     * 状态默认为0{0：草稿、1：已提交}
     */
    @ApiModelProperty(value="状态默认为0{0：草稿、1：已提交}")
    private Integer status;

    /**
     * 提交时间
     */
    @ApiModelProperty(value="提交时间")
    private LocalDate submitDate;

    /**
     * 描述
     */
    @ApiModelProperty(value="描述")
    private String describeText;

    /**
     * 备注
     */
    @ApiModelProperty(value="备注")
    private String remarks;

}
